package model

import gormadapter "github.com/casbin/gorm-adapter/v3"

// CasbinRuleExtended 是一个包含了额外字段的 CasbinRule 模型
type CasbinRuleExtended struct {
	gormadapter.CasbinRule `json:"gormadapter_casbin_rule"`
	RoleName               string `json:"role_name" gorm:"column:role_name" binding:"required"`
	Ordered                int    `json:"ordered" gorm:"column:ordered"`
	Status                 int    `json:"status" gorm:"column:status"`
}
